import java.util.*;
public class Arrival_Comparison implements Comparator<Process> {
	public int compare(Process p1, Process p2) {
        if(p1.arrival < p2.arrival)
        	return -1;
        else
        	return 1;
	}
}
